package com.haonan.mapper;

import com.haonan.pojo.entily.Dept;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeptMapper {

    List<Dept> findAll();

    void deleteById(Integer id);

    void insert(Dept dept);

    Dept findById(Integer id);

    void update(Dept dept);
}
